package cn.edu.scau.cmi.tancuier.composite.safe;

public abstract class SafeOrganization {
	private String name;
	private SafeOrganization parent;
	
	public SafeOrganization(String name) {
		this.setName(name);
	}
	
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
	
	public SafeOrganization getParent() {
		return parent;
	}

	public void setParent(SafeOrganization parent) {
		this.parent = parent;
	}
	
	public abstract String display(int depth);
}
